package com.smmisia.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.smmisia.common.entity.auth.SysMenu;
import com.smmisia.common.request.auth.MenuRequest;
import com.smmisia.common.Result.Result;

import java.util.List;


public interface SysMenuService extends IService<SysMenu> {

    Result<String> addMenu(MenuRequest menuRequest);

    Result<String> deleteMenu(Integer id);

    Result<String> updateMenu(MenuRequest menuRequest);

    Result<List<SysMenu>> getMenu(Integer pageNum, Integer pageSize);

    Result<SysMenu> getMenuInfo(Integer id);
}
